package com.xgimi.locales.bean


data class RowAttr(
    var moduleName: String? = null /*模块名称  */,
    var keyName: String? = null /* 字段名称 projection_mode */,
    var isArray: Boolean = false /* 是否是数组 */,
    var arrayItemIndex: Int = -1 /* 数组item索引 projection_mode-INDEX-0,INDEX-1,INDEX-2... ... */
) {
    /*
    <string-array name="projection_mode" translatable="false">
        <item>正装正投</item>
        <item>吊装正投</item>
        <item>正装背投</item>
        <item>吊装背投</item>
    </string-array>
     */
    override fun toString(): String {
        return "RowAttr(moduleName=$moduleName, keyName=$keyName, arrayItemIndex=$arrayItemIndex)"
    }
}
